const express = require('express');

// 创建app对象
const app = express();

app.use(express.static('./uploads'));
app.use(express.static('./build'));

// 示例路由中间件
app.post('/login', (req, res, next) => {
    // 登录逻辑
});

// 启动服务器
app.listen(9000, () => {
    console.log('Express服务器启动成功~');
});